package cn.edu.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;


@Data
@TableName("user")
public class User {
    //@TableId(type = IdType.ASSIGN_UUID)
    //private String id;//UUID对应的是String
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String password;
    private Integer age;
    private String tel;
    @TableLogic(value = "0", delval = "1")
    //value为正常数据的值，delval为删除数据的值
    private Integer deleted;
    @Version
    private Integer version;

}
